Component({
  options: {
    addGlobalClass: true,
  },
  properties: {
    goodsParams: {
      type: Object,
      value: []
    }
  },
  data: {
    dialogShow: false,
    contentHeight: 0
  },
  methods: {
    onContentHeight(val) {
      this.setData({
        contentHeight: val.detail
      })
    },
    handleDialogShow() {
      this.setData({dialogShow: true})
    },
    handleDialogHide() {
      this.setData({dialogShow: false})
    }
  }
});
